package com.team.arms.yuding.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.team.arms.yuding.domain.VoluntaryInformation;
import com.team.arms.yuding.domain.dto.VoluntaryInformationDto;
import com.team.arms.yuding.domain.vo.VoluntaryInformationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 */
public interface VoluntaryInformationService extends IService<VoluntaryInformation> {

    List<VoluntaryInformationVo> selectList();

    //List<VoluntaryInformationVo> selectByName(@Param("name") String name);

    //List<VoluntaryInformationVo> selectVoluntaryInformation(ConditionDTO[] conditionDTO);

    List<VoluntaryInformationVo> selectVoluntaryInformation(VoluntaryInformationDto voluntaryInformationDto);


    int insertAll(VoluntaryInformation voluntaryInformation);


    VoluntaryInformationVo selectById(@Param("volunteerInfoId") String volunteerInfoId);

    List<String> selectCultureProgramByVolunteerOne(@Param("volunteerOne") String volunteerOne);

}
